using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes.DomainAttributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Enums;
using System.Collections.Generic;
using System.ComponentModel;

namespace Baci.ArcGIS._3DAnalystTools._TerrainDataset
{
    /// <summary>
    /// <para>Remove Terrain Pyramid Level</para>
    /// <para>Removes a pyramid level from a terrain dataset.</para>
    /// <para>从 terrain 数据集中移除金字塔级别。</para>
    /// </summary>    
    [DisplayName("Remove Terrain Pyramid Level")]
    public class RemoveTerrainPyramidLevel : AbstractGPProcess
    {
        /// <summary>
        /// 无参构造
        /// </summary>
        public RemoveTerrainPyramidLevel()
        {

        }

        /// <summary>
        /// 有参构造
        /// </summary>
        /// <param name="_in_terrain">
        /// <para>Input Terrain</para>
        /// <para>The terrain dataset to process.</para>
        /// <para>要处理的 terrain 数据集。</para>
        /// </param>
        /// <param name="_pyramid_level_resolution">
        /// <para>Pyramid Level Resolution</para>
        /// <para>The pyramid level to be removed as specified by its resolution.</para>
        /// <para>根据其分辨率指定要删除的金字塔级别。</para>
        /// </param>
        public RemoveTerrainPyramidLevel(object _in_terrain, double? _pyramid_level_resolution)
        {
            this._in_terrain = _in_terrain;
            this._pyramid_level_resolution = _pyramid_level_resolution;
        }
        public override string ToolboxName => "3D Analyst Tools";

        public override string ToolName => "Remove Terrain Pyramid Level";

        public override string CallName => "3d.RemoveTerrainPyramidLevel";

        public override List<string> AcceptEnvironments => ["autoCommit", "workspace"];

        public override object[] ParameterInfo => [_in_terrain, _pyramid_level_resolution, _derived_out_terrain];

        /// <summary>
        /// <para>Input Terrain</para>
        /// <para>The terrain dataset to process.</para>
        /// <para>要处理的 terrain 数据集。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Input Terrain")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _in_terrain { get; set; }


        /// <summary>
        /// <para>Pyramid Level Resolution</para>
        /// <para>The pyramid level to be removed as specified by its resolution.</para>
        /// <para>根据其分辨率指定要删除的金字塔级别。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Pyramid Level Resolution")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public double? _pyramid_level_resolution { get; set; }


        /// <summary>
        /// <para>Updated Input Terrain</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Updated Input Terrain")]
        [Description("")]
        [Option(OptionTypeEnum.derived)]
        public object _derived_out_terrain { get; set; }


        public RemoveTerrainPyramidLevel SetEnv(int? autoCommit = null, object workspace = null)
        {
            base.SetEnv(autoCommit: autoCommit, workspace: workspace);
            return this;
        }

    }

}